package com.yeyaomai.dksns.flowis.dao;

import java.util.List;
import java.util.Map;

import com.yeyaomai.dksns.flowis.domain.FlowUser;

/**
 * 权限用户表基本操作
 * @author xiaqin
 *@date 2012-06-26
 */
public interface FlowUserDao {

	void addFlowUser(FlowUser flowUser);
	
	void updateFlowUser(FlowUser flowUser);
	
	void deleteFlowUser(Long userId);
	
	Integer countFlowUser();
	
	FlowUser getFlowUserByUserId(Long userId);
	
	FlowUser getFlowUserByUserName(String userName);
	
	List<FlowUser> listFlowUser(Map<String, Object> map);
	
	FlowUser loginCheck(Map<String, Object> map);
}
